import App from './App';

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false;

//引入全局组件
//分割线组件
import divider from './components/common/divider.vue';
//无数据组件
import nothing from './components/common/no-thing.vue';
//注册全局组件
Vue.component('divider', divider);
Vue.component('nothing', nothing);

App.mpType = 'app';
const app = new Vue({
    ...App
});
app.$mount();
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App);
  return {
    app
  }
}
// #endif